﻿using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
namespace FrameWork.Entity
{
    /// <summary>
    /// 实体类sys_User 。(属性说明自动提取数据库字段的描述信息) 
    /// </summary>
    public class sys_User
    {
        public sys_User() { }

        private int _userID = int.MinValue;//用户ID号			
        private string _u_LoginName = "";//登陆名			
        private string _u_Password = "";//密码md5加密字符			
        private string _u_CName = "";//中文姓名			
        private string _u_EName = "";//英文名			
        private int _u_GroupID = int.MinValue;//部门ID号与sys_Group表中GroupID关联			
        private string _u_Email = "";//电子邮件			
        private int _u_Type = int.MinValue;//用户类型0:超级用户1:普通用户			
        private int _u_Status = int.MinValue;//当前状态0:正常 1:禁止登陆 2:删除			
        private string _u_Licence = "";//用户序列号			
        private string _u_Mac = "";//锁定机器硬件地址			
        private string _u_Remark = "";//备注说明			
        private string _u_IDCard = "";//身份证号码			
        private int _u_Sex = int.MinValue;//性别1:男0:女			
        private DateTime _u_BirthDay = DateTime.MinValue;//出生日期			
        private string _u_MobileNo = "";//手机号			
        private string _u_UserNO = "";//员工编号			
        private DateTime _u_WorkStartDate = DateTime.MinValue;//到职日期			
        private DateTime _u_WorkEndDate = DateTime.MinValue;//离职日期			
        private string _u_CompanyMail = "";//公司邮件地址			
        private int _u_Title = int.MinValue;//职称与应用字段关联			
        private string _u_Extension = "";//分机号			
        private string _u_HomeTel = "";//家中电话			
        private string _u_PhotoUrl = "";//用户照片网址			
        private DateTime _u_DateTime = DateTime.MinValue;//操作时间			
        private string _u_LastIP = "";//最后访问IP			
        private DateTime _u_LastDateTime = DateTime.MinValue;//最后访问时间			
        private string _u_ExtendField = "";//扩展字段			
        /// <summary>
        /// 用户ID号
        /// </summary>
        public int UserID
        {
            set { _userID = value; }
            get { return _userID; }
        }
        /// <summary>
        /// 登陆名
        /// </summary>
        public string U_LoginName
        {
            set { _u_LoginName = value; }
            get { return _u_LoginName; }
        }
        /// <summary>
        /// 密码md5加密字符
        /// </summary>
        public string U_Password
        {
            set { _u_Password = value; }
            get { return _u_Password; }
        }
        /// <summary>
        /// 中文姓名
        /// </summary>
        public string U_CName
        {
            set { _u_CName = value; }
            get { return _u_CName; }
        }
        /// <summary>
        /// 英文名
        /// </summary>
        public string U_EName
        {
            set { _u_EName = value; }
            get { return _u_EName; }
        }
        /// <summary>
        /// 部门ID号与sys_Group表中GroupID关联
        /// </summary>
        public int U_GroupID
        {
            set { _u_GroupID = value; }
            get { return _u_GroupID; }
        }
        /// <summary>
        /// 电子邮件
        /// </summary>
        public string U_Email
        {
            set { _u_Email = value; }
            get { return _u_Email; }
        }
        /// <summary>
        /// 用户类型0:超级用户1:普通用户
        /// </summary>
        public int U_Type
        {
            set { _u_Type = value; }
            get { return _u_Type; }
        }
        /// <summary>
        /// 当前状态0:正常 1:禁止登陆 2:删除
        /// </summary>
        public int U_Status
        {
            set { _u_Status = value; }
            get { return _u_Status; }
        }
        /// <summary>
        /// 用户序列号
        /// </summary>
        public string U_Licence
        {
            set { _u_Licence = value; }
            get { return _u_Licence; }
        }
        /// <summary>
        /// 锁定机器硬件地址
        /// </summary>
        public string U_Mac
        {
            set { _u_Mac = value; }
            get { return _u_Mac; }
        }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string U_Remark
        {
            set { _u_Remark = value; }
            get { return _u_Remark; }
        }
        /// <summary>
        /// 身份证号码
        /// </summary>
        public string U_IDCard
        {
            set { _u_IDCard = value; }
            get { return _u_IDCard; }
        }
        /// <summary>
        /// 性别1:男0:女
        /// </summary>
        public int U_Sex
        {
            set { _u_Sex = value; }
            get { return _u_Sex; }
        }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime U_BirthDay
        {
            set { _u_BirthDay = value; }
            get { return _u_BirthDay; }
        }
        /// <summary>
        /// 手机号
        /// </summary>
        public string U_MobileNo
        {
            set { _u_MobileNo = value; }
            get { return _u_MobileNo; }
        }
        /// <summary>
        /// 员工编号
        /// </summary>
        public string U_UserNO
        {
            set { _u_UserNO = value; }
            get { return _u_UserNO; }
        }
        /// <summary>
        /// 到职日期
        /// </summary>
        public DateTime U_WorkStartDate
        {
            set { _u_WorkStartDate = value; }
            get { return _u_WorkStartDate; }
        }
        /// <summary>
        /// 离职日期
        /// </summary>
        public DateTime U_WorkEndDate
        {
            set { _u_WorkEndDate = value; }
            get { return _u_WorkEndDate; }
        }
        /// <summary>
        /// 公司邮件地址
        /// </summary>
        public string U_CompanyMail
        {
            set { _u_CompanyMail = value; }
            get { return _u_CompanyMail; }
        }
        /// <summary>
        /// 职称与应用字段关联
        /// </summary>
        public int U_Title
        {
            set { _u_Title = value; }
            get { return _u_Title; }
        }
        /// <summary>
        /// 分机号
        /// </summary>
        public string U_Extension
        {
            set { _u_Extension = value; }
            get { return _u_Extension; }
        }
        /// <summary>
        /// 家中电话
        /// </summary>
        public string U_HomeTel
        {
            set { _u_HomeTel = value; }
            get { return _u_HomeTel; }
        }
        /// <summary>
        /// 用户照片网址
        /// </summary>
        public string U_PhotoUrl
        {
            set { _u_PhotoUrl = value; }
            get { return _u_PhotoUrl; }
        }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime U_DateTime
        {
            set { _u_DateTime = value; }
            get { return _u_DateTime; }
        }
        /// <summary>
        /// 最后访问IP
        /// </summary>
        public string U_LastIP
        {
            set { _u_LastIP = value; }
            get { return _u_LastIP; }
        }
        /// <summary>
        /// 最后访问时间
        /// </summary>
        public DateTime U_LastDateTime
        {
            set { _u_LastDateTime = value; }
            get { return _u_LastDateTime; }
        }
        /// <summary>
        /// 扩展字段
        /// </summary>
        public string U_ExtendField
        {
            set { _u_ExtendField = value; }
            get { return _u_ExtendField; }
        }

    }
}

